package com.eshop.modules.mp.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.mp.service.dto.WechatReplyDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.mp.service.dto.WechatReplyQueryCriteria;
import com.eshop.modules.mp.domain.WechatReply;
import com.eshop.common.service.BaseService;

public interface WechatReplyService extends BaseService<WechatReply>
{
    Map<String, Object> queryAll(final WechatReplyQueryCriteria criteria, final Pageable pageable);
    
    List<WechatReply> queryAll(final WechatReplyQueryCriteria criteria);
    
    void download(final List<WechatReplyDto> all, final HttpServletResponse response) throws IOException;
    
    WechatReply isExist(final String subscribe);
    
    void create(final WechatReply wechatReply);
    
    void upDate(final WechatReply wechatReply);
}
